package org.dromara.apartment.domain.bo;

import org.dromara.apartment.domain.AttrKey;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 房间基本属性业务对象 attr_key
 *
 * @author ckj
 * @date 2025-06-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = AttrKey.class, reverseConvertGenerate = false)
public class AttrKeyBo extends BaseEntity {

    /**
     * ID
     */
    @NotNull(message = "ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 属性key
     */
    private String name;


}
